﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Spring.Context.Support;
using Spring.Context;

namespace SpringNETTester
{
    class Program
    {
        static void Main(string[] args)
        {
            IApplicationContext context = new XmlApplicationContext("configuration\\applicationContext.XML");
            Messenger msger = (Messenger)context.GetObject("messenger");
            msger.SendMessage("Hello World");
            Console.In.ReadLine();
        }
    }
}
